From 3bc6567e5b859b3f22a8b7aa93b2cd04e98850bb Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sun, 14 May 2023 12:45:24 -0600 Subject: [PATCH] workaound curl bug in lastest windows github runner. (#1111) --- tools/uploadtool/upload_github.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/uploadtool/upload_github.sh b/tools/uploadtool/upload_github.sh index dcec6f2fc..851a82407 100755 --- a/tools/uploadtool/upload_github.sh +++ b/tools/uploadtool/upload_github.sh @@ -132,9 +132,11 @@ echo "Upload binaries to the release..." for FILE in "$@" ; do FULLNAME="${FILE}" BASENAME="$(basename "${FILE}")" + # use -http1.1 to avoid https://github.com/actions/runner-images/issues/7329 curl -H "Authorization: token ${GITHUB_TOKEN}" \ -H "Accept: application/vnd.github.manifold-preview" \ -H "Content-Type: application/octet-stream" \ + --http1.1 \ --data-binary @$FULLNAME \ "$upload_url?name=$BASENAME" echo "" -- 2.30.2